package com.kingyun.gpsinspection.purificationservice.common.enums;

/**
 * Created by liyi on 2017/1/12.
 * 危害类别
 */
public enum CategoryEnum {
    CATEGORY_ENUM_1(1,"物的不安全状态"),
    CATEGORY_ENUM_2(2,"人的不安全行为"),
    CATEGORY_ENUM_3(3,"管理因素"),
    CATEGORY_ENUM_4(4,"环境因素"),
    ;

    CategoryEnum(Integer code, String description){
        this.code=code;
        this.decription=description;
    }

    private Integer code;
    private String decription;

    public Integer code (){
        return code;
    }

    public  String description(){
        return decription;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDecription() {
        return decription;
    }

    public void setDecription(String decription) {
        this.decription = decription;
    }
}
